// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import ElementUI from 'element-ui';
import fastClick from 'fastclick';
import $ from 'jquery';
import store from './store';
import VueWechatTitle from 'vue-wechat-title';
import VueAwesomeSwiper from 'vue-awesome-swiper';
import BScroll from 'better-scroll';
import 'babel-polyfill';
import 'element-ui/lib/theme-chalk/index.css';
import 'assets/css/reset.css';
import 'assets/css/border.css';
import 'assets/css/iconfont.css';
import 'swiper/dist/css/swiper.css';

Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.use(VueWechatTitle);
Vue.use(VueAwesomeSwiper);
fastClick.attach(document.body);

Vue.prototype.$bus = new Vue();


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
